package com.xirui.bean;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Record {
	
	private Integer rid;
	
	private Integer uid;
	private Integer did;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date inTime;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date outTime;
	
	private String dname;
	private String fname;
	private String uname;
	
	private Integer count;

	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Integer getDid() {
		return did;
	}

	public void setDid(Integer did) {
		this.did = did;
	}

	public Date getInTime() {
		return inTime;
	}

	public void setInTime(Date inTime) {
		this.inTime = inTime;
	}

	public Date getOutTime() {
		return outTime;
	}

	public void setOutTime(Date outTime) {
		this.outTime = outTime;
	}

	public String getDname() {
		return dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	@Override
	public String toString() {
		return "Record [rid=" + rid + ", uid=" + uid + ", did=" + did + ", inTime=" + inTime + ", outTime=" + outTime
				+ ", dname=" + dname + ", fname=" + fname + ", uname=" + uname + ", count=" + count + "]";
	}
	
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	

}
